package com.lupus.util;

import java.sql.Date;
import java.text.SimpleDateFormat;

public final class DateUtil {
	public static String getCurrentTime(){
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); 
		Date date = new Date(System.currentTimeMillis());
		return dateFormat.format(date);
	}
	
	public static String getCurrentDate(){
		Date date = new Date(System.currentTimeMillis());
		return date.toString();
	}
}
